#!/usr/bin/env bash
cd /root/IdeaProjects/jvm-deep-learn/target/classes
source /etc/profile

JAVA_OPTS='-XX:PermSize=10M -XX:MaxPermSize=10M'
java $JAVA_OPTS ch2.P5_JavaMethodAreaOOM